package com.xxlcraweler;

import com.xuxueli.crawler.annotation.PageFieldSelect;
import com.xuxueli.crawler.annotation.PageSelect;

import java.util.List;

// PageSelect 注解：从页面中抽取出一个或多个VO对象；
@PageSelect(cssQuery = "body")
public  class PageVo {
    @PageFieldSelect(cssQuery = ".blog-heading .title")
    private String title;
    @PageFieldSelect(cssQuery = "#read")
    private int read;
    @PageFieldSelect(cssQuery = ".comment-content")
    private List<String> comment;
    // set get
}
